<%--
  Created by IntelliJ IDEA.
  User: 86182
  Date: 2024/7/29
  Time: 17:10
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
  <head>
    <title>$Title$</title>
  </head>
  <body>
  <div class="nice">
    <%!
      //声明部分
      int a=29;
      public int sum(int a,int b){
        return a+b;
      }
    %>
    <%
      //servlet service
      for (int i = 0; i < 50; i++) {
        out.print("了解jsp的开发！<br>");
      }
    %>
  </div>
  <h1><%=a%></h1>
  </body>
</html>
